package io.coderyeah.ymcc.feign.client;


import io.coderyeah.ymcc.feign.fallback.UserClientFallback;
import io.coderyeah.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author lqs
 * @date 2022/10/20 16:06
 */
@FeignClient(value = "service-user", fallbackFactory = UserClientFallback.class)
public interface UserServiceClient {

    @GetMapping("/user/list")
    JSONResult list();

}
